package nl.scalasim

/**
 * Describes a number with the range [0..max]
 *
 * @author Yigal Duppen
 * @since Nov 9, 2010
 */
case class Amount(value: Int, max: Int) {
  val remaining = max - value
}
